package com.freshmarket.freshmarket.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.freshmarket.freshmarket.controller.form.CouponShowForm;
import com.freshmarket.freshmarket.entity.Coupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.freshmarket.freshmarket.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Squirrel
 * @since 2020-09-04
 */
public interface ICouponService  {

    //查询现金抵扣
    //public Result selectCash(CouponShowForm couponShowForm) throws Exception;

    //查询折扣券
    //public Result selectDiscount(CouponShowForm couponShowForm) throws Exception;


    //直接发放券查询
    public Result selectDirect(CouponShowForm couponShowForm) throws Exception;

    //查询积分兑换
    public Result selectScore(CouponShowForm couponShowForm) throws Exception;

    //查询个人领取过的优惠券
    public Result selectByIdCoupon(Integer userId,String couponStatus) throws Exception;
}
